package com.boolib.web;

import com.boolib.http.core.defaults.DefaultHttpChain;
import com.boolib.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wfq
 */
@RestController
public class WebController {

    @PostMapping("/test")
    public Object a (@RequestBody User user){
        return user;
    }


}
